import { createRouter, createWebHistory } from 'vue-router'
import Home from '../views/Home.vue'
import TripChat from '../views/TripChat.vue'
import ManusChat from '../views/ManusChat.vue'

const routes = [
  {
    path: '/',
    name: 'home',
    component: Home
  },
  {
    path: '/trip-chat',
    name: 'trip-chat',
    component: TripChat
  },
  {
    path: '/manus-chat',
    name: 'manus-chat',
    component: ManusChat
  }
]

const router = createRouter({
  history: createWebHistory(import.meta.env.BASE_URL),
  routes
})

export default router